package com.sys.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sys.common.utils.PageUtils;
import com.sys.product.entity.AttrGroupEntity;
import com.sys.product.vo.AttrGroupRelationVo;
import com.sys.product.vo.AttrGroupWithAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yangjs
 * @email catalpa65@163.com
 * @date 2020-11-09 21:03:00
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    //查询所有分组列表
    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    //属性分组模块：关联属性弹窗-删除关联
    void deleteRelation(AttrGroupRelationVo[] attrGroupIds);

    //查询某个分类下所有分组
    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    PageUtils queryPage(Map<String, Object> params);
}
